package com.heima.homeservicemanagementsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.heima.homeservicemanagementsystem.entity.common.ImageEntity;
import io.swagger.v3.oas.annotations.tags.Tag;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 即可达;
 *
 * @author : http://www.chiner.pro
 * @date : 2025-4-12
 */
@Data
/*@ApiModel(value = "即可达",description = "")*/
@Tag(name = "即可达")
@TableName(value = "reachable_immediately",autoResultMap = true)
public class ReachableImmediately implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
    @Schema(title = "服务种类", description = "")
    private Integer type;

    @Schema(title = "分类名字", description = "")
    private String flName;

    @Schema(title = "分类照片", description = "")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private ImageEntity flImage;

    @Schema(title = "父亲ID", description = "")
    private String parentId;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "创建人", hidden = true)
    private String createBy;

}